package com.seari.service.dubbo;

import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.stereotype.Component;

@Component
@Service//该注解为dubbo的@service注解
public class TestDubboServiceImpl implements TestDubboService {

    @Override
    public String getName(String name) {
        return "姓名："+name;
    }
}
